package com.cgycms.webdeploy.common;

import lombok.Data;

/**
 * @ClassName : DeployConstant
 * @Description : 系统常量
 * @Author : Wlc
 * @Date: 2020-11-10 16:06
 */
@Data
public class DeployConstant {

    /**
     * session级登录用户信息key
     */
    public static final String USER_SESSION_ID = "user::session::id";

    /**
     * session级验证码缓存key
     */
    public static final String SESSION_CAPTCHA_ID = "session::captcha::id";

    /**
     * 登录成功
     */
    public static final Integer USER_LOGIN_SUCCESS = 200;

    /**
     * 登录失败
     */
    public static final Integer USER_LOGIN_FAIL = 500;

    /**
     * 验证码错误
     */
    public static final Integer USER_LOGIN_CAPTCHA_FAIL = 400;
}
